
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<link rel="shortcut icon" type="image/x-icon" href="style/favicon.ico"/>
<link href="style/style.css" rel="stylesheet" type="text/css" />
<link href="style/bootstrap.min.css" rel="stylesheet" type="text/css" />
<script src="js/jquery-3.5.1.min.js"></script>
<script src="js/bootstrap.min.js"></script>
<script src="js/gatling.js"></script>
<script src="js/menu.js"></script>
<script src="js/ellipsis.js"></script>
<script src="js/all_sessions.js"></script>
<script src="js/stats.js"></script>
<script src="js/highstock.js"></script>
<script src="js/highcharts-more.js"></script>
<script src="js/theme.js"></script>
<script src="js/unpack.js"></script>
<title>Gatling Stats - busca inválida</title>
</head>
<body>
<div class="app-container">
<div class="frise"></div>
<div class="head">
  <div class="gatling-open-source">
    <a class="gatling-logo" href="https://gatling.io" target="blank_" title="Gatling Home Page"><img alt="Gatling" src="style/logo.svg"/></a>
    <a class="gatling-documentation" href="https://gatling.io/docs/" target="_blank">Documentation</a>
  </div>
  <a class="enterprise" href="https://gatling.io/enterprise/next-step/" target="_blank">Try <img alt="Gatling Enterprise" src="style/logo-enterprise.svg"/></a></div>
<div class="container details">
  <div class="nav">
    <ul></ul>
  </div>
    <div class="cadre">
      <div class="content">
        <div class="content-header">
          <div class="onglet">
            RinhaBackendSimulation
          </div>
          <div class="sous-menu" id="sousMenu">
            <div class="sous-menu-spacer">
              <div class="item "><a href="index.html">Global</a></div>
                <div class="item ouvert"><a id="details_link" href="#">Details</a></div>
              </div>
            </div>
          </div>
          <div class="content-in">
            <div class="container-article">
            <div class="article">
              
              
<div class="schema-container">

            <div id="ranges" class="schema ranges-large">
            </div>

                        <div class="infos">
                            <div class="infos-in">
	                        <div class="infos-title">Stats</div>
                                <div class="repli"></div>                               
                                <div class="info">
                                    <h2 class="first">Executions</h2>
                                    <table>
                                        <thead>
                                            <tr><th></th><th>Total</th><th>OK</th><th>KO</th></tr>
                                        </thead>
                                        <tbody>
                                            <tr>
                                                <td class="title">Total count</td>
                                                <td id="numberOfRequests" class="total"></td>
                                                <td id="numberOfRequestsOK" class="ok"></td>
                                                <td id="numberOfRequestsKO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">Mean count/s</abbr></td>
                                                <td id="meanNumberOfRequestsPerSecond" class="total"></td>
                                                <td id="meanNumberOfRequestsPerSecondOK" class="ok"></td>
                                                <td id="meanNumberOfRequestsPerSecondKO" class="ko"></td>
                                            </tr>
                                        </tbody>
                                    </table>
                                    <h2 class="second">Response Time (ms)</h2>
                                    <table>
                                        <thead>
                                            <tr>
                                                <th></th>
                                                <th>Total</th>
                                                <th>OK</th>
                                                <th>KO</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                            <tr>
                                                <td class="title">Min</td>
                                                <td id="minResponseTime" class="total"></td>
                                                <td id="minResponseTimeOK" class="ok"></td>
                                                <td id="minResponseTimeKO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">50th percentile</td>
                                                <td id="percentiles1" class="total"></td>
                                                <td id="percentiles1OK" class="ok"></td>
                                                <td id="percentiles1KO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">75th percentile</td>
                                                <td id="percentiles2" class="total"></td>
                                                <td id="percentiles2OK" class="ok"></td>
                                                <td id="percentiles2KO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">95th percentile</td>
                                                <td id="percentiles3" class="total"></td>
                                                <td id="percentiles3OK" class="ok"></td>
                                                <td id="percentiles3KO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">99th percentile</td>
                                                <td id="percentiles4" class="total"></td>
                                                <td id="percentiles4OK" class="ok"></td>
                                                <td id="percentiles4KO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">Max</td>
                                                <td id="maxResponseTime" class="total"></td>
                                                <td id="maxResponseTimeOK" class="ok"></td>
                                                <td id="maxResponseTimeKO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">Mean</td>
                                                <td id="meanResponseTime" class="total"></td>
                                                <td id="meanResponseTimeOK" class="ok"></td>
                                                <td id="meanResponseTimeKO" class="ko"></td>
                                            </tr>
                                            <tr>
                                                <td class="title">Standard Deviation</td>
                                                <td id="standardDeviation" class="total"></td>
                                                <td id="standardDeviationOK" class="ok"></td>
                                                <td id="standardDeviationKO" class="ko"></td>
                                            </tr>
                                        </tbody>
                                    </table>
                                </div>
                            </div>
                        </div>

</div>
<div class="statistics extensible-geant collapsed">
    <div class="title">
        Errors
    </div>
    <table id="container_errors" class="statistics-in extensible-geant">
        <thead>
            <tr>
                <th id="error-col-1" class="header sortable"><span>Error</span></th>
                <th id="error-col-2" class="header sortable"><span>Count</span></th>
                <th id="error-col-3" class="header sortable"><span>Percentage</span></th>
            </tr>
        </thead>
		<tbody>
		    
		    <tr>
		    	<td class="error-col-1 total ko">j.n.ConnectException: finishConnect(..) failed: Connection refused<span class="value" style="display:none">0</span></td>
		    	<td class="value error-col-2 total ko">4190</td>
		    	<td class="value error-col-3 total ko">100 %</td>
		    </tr>
		</tbody>
    </table>
</div>

            <div class="schema geant">
              <div id="responsetimeDistributionContainer" class="geant"></div>
            </div>

            <div class="schema geant">
              <div id="responsetimepercentilesovertimeokPercentilesContainer" class="geant"></div>
            </div>

            <div class="schema geant">
                <div id="requests" class="geant"></div>
            </div>

            <div class="schema geant">
                <div id="responses" class="geant"></div>
            </div>

            <div class="schema geant">
              <div id="container_response_time_dispersion" class="geant"></div>
            </div>

            </div>
          </div>
        </div>
      </div>
    </div>
</div>
<script>
    var pageStats = stats.contents['req_busca-inva-lida-b5618'].stats;
    $(document).ready(function() {
        $('.simulation-tooltip').popover({trigger:'hover', placement:'left'});
        setDetailsLinkUrl();
        setDetailsMenu();
        setActiveMenu();
        fillStats(pageStats);
        
Highcharts.setOptions({
  global: { useUTC: false }
});

var rangesChart = new Highcharts.Chart({
  chart: {
    renderTo: 'ranges',
    marginRight: 100
  },
  credits: { enabled: false },
  legend: { enabled: false },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  xAxis: {
    categories: [
      pageStats.group1.htmlName,
      pageStats.group2.htmlName,
      pageStats.group3.htmlName,
      pageStats.group4.htmlName
    ]
  },
  yAxis: {
    title: { text: 'Number of Requests' },
    reversedStacks: false
  },
  tooltip: {
    formatter: function() {
      var s;
      if (this.point.name) { // the pie chart
        s = ''+ this.point.name +': '+ this.y +'% requests';
      } else {
        s = ''+ this.y + ' requests';
      }
      return s;
    }
  },
  plotOptions: {
    series: {
      stacking: 'normal',
      shadow: true
    }
  },
  series: [
    {
      type: 'column',
      data: [{
      	color: '#68b65c',
      	y: pageStats.group1.count
      },
      {
      	color: '#FFDD00',
      	y: pageStats.group2.count
      },
      {
      	color: '#FFA900',
      	y: pageStats.group3.count
      },
      {
      	color: '#f15b4f',
      	y: pageStats.group4.count
      }]
    },
    {
      type: 'pie',
      name: 'Percentages',
      data: [
        {
          name: pageStats.group1.name,
          y: pageStats.group1.percentage,
          color: '#68b65c'
        },
        {
          name: pageStats.group2.name,
          y: pageStats.group2.percentage,
          color: '#FFDD00'
        },
        {
          name: pageStats.group3.name,
          y: pageStats.group3.percentage,
          color: '#FFA900'
        },
        {
          name: pageStats.group4.name,
          y: pageStats.group4.percentage,
          color: '#f15b4f'
        }
      ],
      center: [368, 0],
      size: 90,
      showInLegend: false,
      dataLabels: { enabled: false }
    }
  ]
});

rangesChart.setTitle({
  text: '<span class="chart_title">Response Time Ranges</span>',
  useHTML: true
});

	    $('#container_errors').sortable('#container_errors');
    
var responsetimeDistributionChart = new Highcharts.Chart({
  chart: {
    renderTo: 'responsetimeDistributionContainer',
    type: 'column',
    marginBottom: 60
  },
  credits: { enabled: false },
  legend: {
    enabled: true,
    floating: true,
    y: 5,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
    symbolRadius: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  navigator: {
    maskInside: false
  },
  xAxis: {
    categories: ['0', '1', '2', '3', '5'],
    tickInterval: 20
  },
  yAxis: {
    min: 0,
    title: { text: 'Percentage of Requests' },
    reversedStacks: false
  },
  tooltip: {
    formatter: function() {
      return '<b>'+ this.x +' ms</b><br/>'+
      this.series.name +': '+ this.y +' %<br/>'+
      'Total: '+ this.point.stackTotal + ' %';
    }
  },
  plotOptions: {
    series: {
      groupPadding: 0,
      stacking: 'normal',
	    shadow: true
    }
  },
  series: [
  	{
type: 'column',
color: '#68b65c',
name: 'OK',
data: [
  
],
tooltip: { yDecimals: 0, ySuffix: 'ms' }
},
  	{
type: 'column',
color: '#f15b4f',
name: 'KO',
data: [
  76.08,23.38,0.42,0.04,0.04
],
tooltip: { yDecimals: 0, ySuffix: 'ms' }
}
  ]
});

responsetimeDistributionChart.setTitle({
  text: '<span class="chart_title">Response Time Distribution</span>',
  useHTML: true
});

var responsetimepercentilesovertimeokPercentiles = unpack([[1692818451,null],[1692818452,null],[1692818453,null],[1692818454,null],[1692818455,null],[1692818456,null],[1692818457,null],[1692818458,null],[1692818459,null],[1692818460,null],[1692818461,null],[1692818462,null],[1692818463,null],[1692818464,null],[1692818465,null],[1692818466,null],[1692818467,null],[1692818468,null],[1692818469,null],[1692818470,null],[1692818471,null],[1692818472,null],[1692818473,null],[1692818474,null],[1692818475,null],[1692818476,null],[1692818477,null],[1692818478,null],[1692818479,null],[1692818480,null],[1692818481,null],[1692818482,null],[1692818483,null],[1692818484,null],[1692818485,null],[1692818486,null],[1692818487,null],[1692818488,null],[1692818489,null],[1692818490,null],[1692818491,null],[1692818492,null],[1692818493,null],[1692818494,null],[1692818495,null],[1692818496,null],[1692818497,null],[1692818498,null],[1692818499,null],[1692818500,null],[1692818501,null],[1692818502,null],[1692818503,null],[1692818504,null],[1692818505,null],[1692818506,null],[1692818507,null],[1692818508,null],[1692818509,null],[1692818510,null],[1692818511,null],[1692818512,null],[1692818513,null],[1692818514,null],[1692818515,null],[1692818516,null],[1692818517,null],[1692818518,null],[1692818519,null],[1692818520,null],[1692818521,null],[1692818522,null],[1692818523,null],[1692818524,null],[1692818525,null],[1692818526,null],[1692818527,null],[1692818528,null],[1692818529,null],[1692818530,null],[1692818531,null],[1692818532,null],[1692818533,null],[1692818534,null],[1692818535,null],[1692818536,null],[1692818537,null],[1692818538,null],[1692818539,null],[1692818540,null],[1692818541,null],[1692818542,null],[1692818543,null],[1692818544,null],[1692818545,null],[1692818546,null],[1692818547,null],[1692818548,null],[1692818549,null],[1692818550,null],[1692818551,null],[1692818552,null],[1692818553,null],[1692818554,null],[1692818555,null],[1692818556,null],[1692818557,null],[1692818558,null],[1692818559,null],[1692818560,null],[1692818561,null],[1692818562,null],[1692818563,null],[1692818564,null],[1692818565,null],[1692818566,null],[1692818567,null],[1692818568,null],[1692818569,null],[1692818570,null],[1692818571,null],[1692818572,null],[1692818573,null],[1692818574,null],[1692818575,null],[1692818576,null],[1692818577,null],[1692818578,null],[1692818579,null],[1692818580,null],[1692818581,null],[1692818582,null],[1692818583,null],[1692818584,null],[1692818585,null],[1692818586,null],[1692818587,null],[1692818588,null],[1692818589,null],[1692818590,null],[1692818591,null],[1692818592,null],[1692818593,null],[1692818594,null],[1692818595,null],[1692818596,null],[1692818597,null],[1692818598,null],[1692818599,null],[1692818600,null],[1692818601,null],[1692818602,null],[1692818603,null],[1692818604,null],[1692818605,null],[1692818606,null],[1692818607,null],[1692818608,null],[1692818609,null],[1692818610,null],[1692818611,null],[1692818612,null],[1692818613,null],[1692818614,null],[1692818615,null],[1692818616,null],[1692818617,null],[1692818618,null],[1692818619,null],[1692818620,null],[1692818621,null],[1692818622,null],[1692818623,null],[1692818624,null],[1692818625,null],[1692818626,null],[1692818627,null],[1692818628,null],[1692818629,null],[1692818630,null],[1692818631,null],[1692818632,null],[1692818633,null],[1692818634,null],[1692818635,null],[1692818636,null],[1692818637,null],[1692818638,null],[1692818639,null],[1692818640,null],[1692818641,null],[1692818642,null],[1692818643,null],[1692818644,null],[1692818645,null],[1692818646,null],[1692818647,null],[1692818648,null],[1692818649,null],[1692818650,null],[1692818651,null],[1692818652,null],[1692818653,null],[1692818654,null],[1692818655,null]]);

var responsetimepercentilesovertimeokPercentilesChart = new Highcharts.StockChart({
  chart: {
    renderTo: 'responsetimepercentilesovertimeokPercentilesContainer',
    zoomType: 'x',
    marginBottom: 60
  },
  colors: ['#c4fd90', '#7ff77f', '#6ff2ad', '#61ede6', '#58c7e0', '#4ea1d4', '#487ad9', '#3f52cc', '#7335dc', '#c73905', '#FFA900'],
  credits: { enabled: false },
  legend: {
    enabled: true,
    floating: true,
    y: -65,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
    symbolRadius: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  navigator: {
    maskInside: false,
    baseSeries: 9
  },
  rangeSelector: {
    rangeSelector: { align: "left" },
    buttonSpacing: 0,
    buttonTheme: {
      fill: '#CFC9C6',
      padding: 1,
      stroke: '#000000',
      'stroke-width': 0.25,
      style: {
        color: '#000000',
        fontWeight: 'bold',
      },
      states: {
        stroke: '#92918C',
        'stroke-width': 0.25,
        hover: {
          fill: '#92918C',
          style: { color: 'black' }
        },
        select: {
          fill: '#FFA900',
          style: { color: 'white' }
        }
      }
    },
    buttons : [
      {
        type : 'minute',
        count : 1,
        text : '1m'
      }, {
        type : 'minute',
        count : 10,
        text : '10m'
      }, {
        type : 'hour',
        count : 1,
        text : '1h'
      }, {
        type : 'all',
        count : 1,
        text : 'All'
      }
    ],
    selected : 3,
    inputEnabled : false
  },
  xAxis: {
    type: 'datetime',
    ordinal: false,
    maxZoom: 10000 // three days
  },
  yAxis:[
    {
      min: 0,
      title: { text: 'Response Time (ms)' },
      opposite: false
    }, {
      min: 0,
      title: {
        text: 'Active Users',
        style: { color: '#FFA900' }
      },
      opposite: true
    }
  ],
  plotOptions: {
    arearange: { lineWidth: 1 },
    series: {
      dataGrouping: { enabled: false }
    }
  },
  series: [
  
    
         {
pointInterval: 1000,
name: 'min',
data: responsetimepercentilesovertimeokPercentiles[0],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 10
},
         {
pointInterval: 1000,
name: '25%',
data: responsetimepercentilesovertimeokPercentiles[1],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 9
},
         {
pointInterval: 1000,
name: '50%',
data: responsetimepercentilesovertimeokPercentiles[2],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 8
},
         {
pointInterval: 1000,
name: '75%',
data: responsetimepercentilesovertimeokPercentiles[3],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 7
},
         {
pointInterval: 1000,
name: '80%',
data: responsetimepercentilesovertimeokPercentiles[4],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 6
},
         {
pointInterval: 1000,
name: '85%',
data: responsetimepercentilesovertimeokPercentiles[5],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 5
},
         {
pointInterval: 1000,
name: '90%',
data: responsetimepercentilesovertimeokPercentiles[6],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 4
},
         {
pointInterval: 1000,
name: '95%',
data: responsetimepercentilesovertimeokPercentiles[7],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 3
},
         {
pointInterval: 1000,
name: '99%',
data: responsetimepercentilesovertimeokPercentiles[8],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 2
},
         {
pointInterval: 1000,
name: 'max',
data: responsetimepercentilesovertimeokPercentiles[9],
tooltip: { yDecimals: 0, ySuffix: 'ms' },
type : 'area',
yAxis: 0,
zIndex: 1
},
  allUsersData
  ]
});

responsetimepercentilesovertimeokPercentilesChart.setTitle({
  text: '<span class="chart_title chart_title_">Response Time Percentiles over Time (OK)</span>',
  useHTML: true
});

var requests = unpack([[1692818451,[2,0,2]],[1692818452,[2,0,2]],[1692818453,[2,0,2]],[1692818454,[2,0,2]],[1692818455,[2,0,2]],[1692818456,[2,0,2]],[1692818457,[2,0,2]],[1692818458,[2,0,2]],[1692818459,[2,0,2]],[1692818460,[2,0,2]],[1692818461,[2,0,2]],[1692818462,[2,0,2]],[1692818463,[2,0,2]],[1692818464,[2,0,2]],[1692818465,[2,0,2]],[1692818466,[2,0,2]],[1692818467,[2,0,2]],[1692818468,[2,0,2]],[1692818469,[2,0,2]],[1692818470,[2,0,2]],[1692818471,[2,0,2]],[1692818472,[2,0,2]],[1692818473,[2,0,2]],[1692818474,[2,0,2]],[1692818475,[2,0,2]],[1692818476,[4,0,4]],[1692818477,[6,0,6]],[1692818478,[6,0,6]],[1692818479,[6,0,6]],[1692818480,[7,0,7]],[1692818481,[7,0,7]],[1692818482,[7,0,7]],[1692818483,[8,0,8]],[1692818484,[7,0,7]],[1692818485,[8,0,8]],[1692818486,[8,0,8]],[1692818487,[8,0,8]],[1692818488,[8,0,8]],[1692818489,[8,0,8]],[1692818490,[9,0,9]],[1692818491,[9,0,9]],[1692818492,[9,0,9]],[1692818493,[9,0,9]],[1692818494,[10,0,10]],[1692818495,[9,0,9]],[1692818496,[10,0,10]],[1692818497,[10,0,10]],[1692818498,[10,0,10]],[1692818499,[11,0,11]],[1692818500,[11,0,11]],[1692818501,[10,0,10]],[1692818502,[11,0,11]],[1692818503,[11,0,11]],[1692818504,[12,0,12]],[1692818505,[11,0,11]],[1692818506,[12,0,12]],[1692818507,[11,0,11]],[1692818508,[12,0,12]],[1692818509,[13,0,13]],[1692818510,[12,0,12]],[1692818511,[13,0,13]],[1692818512,[13,0,13]],[1692818513,[13,0,13]],[1692818514,[13,0,13]],[1692818515,[13,0,13]],[1692818516,[14,0,14]],[1692818517,[13,0,13]],[1692818518,[14,0,14]],[1692818519,[14,0,14]],[1692818520,[15,0,15]],[1692818521,[14,0,14]],[1692818522,[15,0,15]],[1692818523,[15,0,15]],[1692818524,[15,0,15]],[1692818525,[15,0,15]],[1692818526,[16,0,16]],[1692818527,[15,0,15]],[1692818528,[16,0,16]],[1692818529,[16,0,16]],[1692818530,[16,0,16]],[1692818531,[17,0,17]],[1692818532,[16,0,16]],[1692818533,[17,0,17]],[1692818534,[17,0,17]],[1692818535,[17,0,17]],[1692818536,[18,0,18]],[1692818537,[17,0,17]],[1692818538,[18,0,18]],[1692818539,[17,0,17]],[1692818540,[19,0,19]],[1692818541,[18,0,18]],[1692818542,[18,0,18]],[1692818543,[19,0,19]],[1692818544,[19,0,19]],[1692818545,[19,0,19]],[1692818546,[19,0,19]],[1692818547,[20,0,20]],[1692818548,[19,0,19]],[1692818549,[20,0,20]],[1692818550,[20,0,20]],[1692818551,[20,0,20]],[1692818552,[20,0,20]],[1692818553,[21,0,21]],[1692818554,[21,0,21]],[1692818555,[21,0,21]],[1692818556,[21,0,21]],[1692818557,[22,0,22]],[1692818558,[21,0,21]],[1692818559,[22,0,22]],[1692818560,[22,0,22]],[1692818561,[22,0,22]],[1692818562,[22,0,22]],[1692818563,[22,0,22]],[1692818564,[23,0,23]],[1692818565,[23,0,23]],[1692818566,[23,0,23]],[1692818567,[23,0,23]],[1692818568,[23,0,23]],[1692818569,[24,0,24]],[1692818570,[24,0,24]],[1692818571,[24,0,24]],[1692818572,[24,0,24]],[1692818573,[24,0,24]],[1692818574,[25,0,25]],[1692818575,[24,0,24]],[1692818576,[25,0,25]],[1692818577,[25,0,25]],[1692818578,[25,0,25]],[1692818579,[26,0,26]],[1692818580,[26,0,26]],[1692818581,[26,0,26]],[1692818582,[26,0,26]],[1692818583,[26,0,26]],[1692818584,[26,0,26]],[1692818585,[27,0,27]],[1692818586,[26,0,26]],[1692818587,[27,0,27]],[1692818588,[27,0,27]],[1692818589,[28,0,28]],[1692818590,[28,0,28]],[1692818591,[27,0,27]],[1692818592,[28,0,28]],[1692818593,[28,0,28]],[1692818594,[29,0,29]],[1692818595,[28,0,28]],[1692818596,[29,0,29]],[1692818597,[28,0,28]],[1692818598,[29,0,29]],[1692818599,[30,0,30]],[1692818600,[29,0,29]],[1692818601,[30,0,30]],[1692818602,[30,0,30]],[1692818603,[30,0,30]],[1692818604,[30,0,30]],[1692818605,[30,0,30]],[1692818606,[31,0,31]],[1692818607,[30,0,30]],[1692818608,[31,0,31]],[1692818609,[31,0,31]],[1692818610,[32,0,32]],[1692818611,[31,0,31]],[1692818612,[32,0,32]],[1692818613,[32,0,32]],[1692818614,[32,0,32]],[1692818615,[33,0,33]],[1692818616,[32,0,32]],[1692818617,[33,0,33]],[1692818618,[33,0,33]],[1692818619,[33,0,33]],[1692818620,[33,0,33]],[1692818621,[33,0,33]],[1692818622,[34,0,34]],[1692818623,[33,0,33]],[1692818624,[34,0,34]],[1692818625,[35,0,35]],[1692818626,[34,0,34]],[1692818627,[35,0,35]],[1692818628,[34,0,34]],[1692818629,[35,0,35]],[1692818630,[35,0,35]],[1692818631,[36,0,36]],[1692818632,[35,0,35]],[1692818633,[35,0,35]],[1692818634,[36,0,36]],[1692818635,[36,0,36]],[1692818636,[37,0,37]],[1692818637,[36,0,36]],[1692818638,[37,0,37]],[1692818639,[37,0,37]],[1692818640,[37,0,37]],[1692818641,[37,0,37]],[1692818642,[37,0,37]],[1692818643,[37,0,37]],[1692818644,[38,0,38]],[1692818645,[38,0,38]],[1692818646,[38,0,38]],[1692818647,[39,0,39]],[1692818648,[38,0,38]],[1692818649,[39,0,39]],[1692818650,[39,0,39]],[1692818651,[39,0,39]],[1692818652,[39,0,39]],[1692818653,[39,0,39]],[1692818654,[40,0,40]],[1692818655,[58,0,58]]]);

var requestsChart = new Highcharts.StockChart({
  chart: {
    renderTo: 'requests',
    zoomType: 'x',
    marginBottom: 60
  },
  credits: { enabled: false },
  legend: {
    enabled: true,
    floating: true,
    y: -65,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
    symbolRadius: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  navigator: {
    maskInside: false
  },
  rangeSelector: {
    buttonSpacing: 0,
    buttonTheme: {
      fill: '#CFC9C6',
      padding: 1,
      stroke: '#000000',
      'stroke-width': 0.25,
      style: {
        color: '#000000',
        fontWeight: 'bold',
      },
      states: {
        stroke: '#000000',
        'stroke-width': 0.25,
        hover: {
          fill: '#92918C',
          style: { color: 'black' }
         },
         select: {
          fill: '#FFA900',
          style: { color: 'white' }
        }
      }
    },
    buttons : [
      {
        type : 'minute',
        count : 1,
        text : '1m'
      }, {
        type : 'minute',
        count : 10,
        text : '10m'
      }, {
        type : 'hour',
        count : 1,
        text : '1h'
      }, {
        type : 'all',
        count : 1,
        text : 'All'
      }
    ],
    selected : 3,
    inputEnabled : false
  },
  plotOptions: {
    series: {
      dataGrouping: { enabled: false }
    },
    area: {
      stacking: 'normal'
    }
  },
  xAxis: {
    type: 'datetime',
    ordinal: false,
    maxZoom: 10000 // three days
  },
  yAxis:[
    {
      min: 0,
      title: { text: 'Number of requests' },
      opposite: false,
      reversedStacks: false
    }, {
      min: 0,
      title: {
        text: 'Active Users',
        style: { color: '#FFA900' }
      },
      opposite: true
    }
  ],
  series: [
    {
color: '#5E7BE2',
name: 'All',
data: requests[0],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
,type: 'area'},
    allUsersData
  ]
});

requestsChart.setTitle({
  text: '<span class="chart_title">Number of requests per second</span>',
  useHTML: true
});

var responses = unpack([[1692818451,[2,0,2]],[1692818452,[2,0,2]],[1692818453,[2,0,2]],[1692818454,[2,0,2]],[1692818455,[2,0,2]],[1692818456,[2,0,2]],[1692818457,[2,0,2]],[1692818458,[2,0,2]],[1692818459,[2,0,2]],[1692818460,[2,0,2]],[1692818461,[2,0,2]],[1692818462,[2,0,2]],[1692818463,[2,0,2]],[1692818464,[2,0,2]],[1692818465,[2,0,2]],[1692818466,[2,0,2]],[1692818467,[2,0,2]],[1692818468,[2,0,2]],[1692818469,[2,0,2]],[1692818470,[2,0,2]],[1692818471,[2,0,2]],[1692818472,[2,0,2]],[1692818473,[2,0,2]],[1692818474,[2,0,2]],[1692818475,[2,0,2]],[1692818476,[4,0,4]],[1692818477,[6,0,6]],[1692818478,[6,0,6]],[1692818479,[6,0,6]],[1692818480,[7,0,7]],[1692818481,[7,0,7]],[1692818482,[7,0,7]],[1692818483,[8,0,8]],[1692818484,[7,0,7]],[1692818485,[8,0,8]],[1692818486,[8,0,8]],[1692818487,[8,0,8]],[1692818488,[8,0,8]],[1692818489,[8,0,8]],[1692818490,[9,0,9]],[1692818491,[9,0,9]],[1692818492,[9,0,9]],[1692818493,[9,0,9]],[1692818494,[10,0,10]],[1692818495,[9,0,9]],[1692818496,[10,0,10]],[1692818497,[10,0,10]],[1692818498,[10,0,10]],[1692818499,[11,0,11]],[1692818500,[11,0,11]],[1692818501,[10,0,10]],[1692818502,[11,0,11]],[1692818503,[11,0,11]],[1692818504,[12,0,12]],[1692818505,[11,0,11]],[1692818506,[12,0,12]],[1692818507,[11,0,11]],[1692818508,[12,0,12]],[1692818509,[13,0,13]],[1692818510,[12,0,12]],[1692818511,[13,0,13]],[1692818512,[13,0,13]],[1692818513,[13,0,13]],[1692818514,[13,0,13]],[1692818515,[13,0,13]],[1692818516,[14,0,14]],[1692818517,[13,0,13]],[1692818518,[14,0,14]],[1692818519,[14,0,14]],[1692818520,[15,0,15]],[1692818521,[14,0,14]],[1692818522,[15,0,15]],[1692818523,[15,0,15]],[1692818524,[15,0,15]],[1692818525,[15,0,15]],[1692818526,[16,0,16]],[1692818527,[15,0,15]],[1692818528,[16,0,16]],[1692818529,[16,0,16]],[1692818530,[16,0,16]],[1692818531,[17,0,17]],[1692818532,[16,0,16]],[1692818533,[17,0,17]],[1692818534,[17,0,17]],[1692818535,[17,0,17]],[1692818536,[18,0,18]],[1692818537,[17,0,17]],[1692818538,[18,0,18]],[1692818539,[17,0,17]],[1692818540,[19,0,19]],[1692818541,[18,0,18]],[1692818542,[18,0,18]],[1692818543,[19,0,19]],[1692818544,[19,0,19]],[1692818545,[19,0,19]],[1692818546,[19,0,19]],[1692818547,[20,0,20]],[1692818548,[19,0,19]],[1692818549,[20,0,20]],[1692818550,[20,0,20]],[1692818551,[20,0,20]],[1692818552,[20,0,20]],[1692818553,[21,0,21]],[1692818554,[21,0,21]],[1692818555,[21,0,21]],[1692818556,[21,0,21]],[1692818557,[22,0,22]],[1692818558,[21,0,21]],[1692818559,[22,0,22]],[1692818560,[22,0,22]],[1692818561,[22,0,22]],[1692818562,[22,0,22]],[1692818563,[22,0,22]],[1692818564,[23,0,23]],[1692818565,[23,0,23]],[1692818566,[23,0,23]],[1692818567,[23,0,23]],[1692818568,[23,0,23]],[1692818569,[24,0,24]],[1692818570,[24,0,24]],[1692818571,[24,0,24]],[1692818572,[24,0,24]],[1692818573,[24,0,24]],[1692818574,[25,0,25]],[1692818575,[24,0,24]],[1692818576,[25,0,25]],[1692818577,[25,0,25]],[1692818578,[25,0,25]],[1692818579,[26,0,26]],[1692818580,[26,0,26]],[1692818581,[26,0,26]],[1692818582,[26,0,26]],[1692818583,[26,0,26]],[1692818584,[26,0,26]],[1692818585,[27,0,27]],[1692818586,[26,0,26]],[1692818587,[27,0,27]],[1692818588,[27,0,27]],[1692818589,[28,0,28]],[1692818590,[28,0,28]],[1692818591,[27,0,27]],[1692818592,[28,0,28]],[1692818593,[28,0,28]],[1692818594,[29,0,29]],[1692818595,[28,0,28]],[1692818596,[29,0,29]],[1692818597,[28,0,28]],[1692818598,[29,0,29]],[1692818599,[30,0,30]],[1692818600,[29,0,29]],[1692818601,[30,0,30]],[1692818602,[30,0,30]],[1692818603,[30,0,30]],[1692818604,[30,0,30]],[1692818605,[30,0,30]],[1692818606,[31,0,31]],[1692818607,[30,0,30]],[1692818608,[31,0,31]],[1692818609,[31,0,31]],[1692818610,[32,0,32]],[1692818611,[31,0,31]],[1692818612,[32,0,32]],[1692818613,[32,0,32]],[1692818614,[32,0,32]],[1692818615,[33,0,33]],[1692818616,[32,0,32]],[1692818617,[33,0,33]],[1692818618,[33,0,33]],[1692818619,[33,0,33]],[1692818620,[33,0,33]],[1692818621,[33,0,33]],[1692818622,[34,0,34]],[1692818623,[33,0,33]],[1692818624,[34,0,34]],[1692818625,[35,0,35]],[1692818626,[34,0,34]],[1692818627,[35,0,35]],[1692818628,[34,0,34]],[1692818629,[35,0,35]],[1692818630,[35,0,35]],[1692818631,[36,0,36]],[1692818632,[35,0,35]],[1692818633,[35,0,35]],[1692818634,[36,0,36]],[1692818635,[36,0,36]],[1692818636,[37,0,37]],[1692818637,[36,0,36]],[1692818638,[37,0,37]],[1692818639,[37,0,37]],[1692818640,[37,0,37]],[1692818641,[37,0,37]],[1692818642,[37,0,37]],[1692818643,[37,0,37]],[1692818644,[38,0,38]],[1692818645,[38,0,38]],[1692818646,[38,0,38]],[1692818647,[39,0,39]],[1692818648,[38,0,38]],[1692818649,[39,0,39]],[1692818650,[39,0,39]],[1692818651,[39,0,39]],[1692818652,[39,0,39]],[1692818653,[39,0,39]],[1692818654,[40,0,40]],[1692818655,[58,0,58]]]);

var requestsChart = new Highcharts.StockChart({
  chart: {
    renderTo: 'responses',
    zoomType: 'x',
    marginBottom: 60
  },
  credits: { enabled: false },
  legend: {
    enabled: true,
    floating: true,
    y: -65,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
    symbolRadius: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  navigator: {
    maskInside: false
  },
  rangeSelector: {
    buttonSpacing: 0,
    buttonTheme: {
      fill: '#CFC9C6',
      padding: 1,
      stroke: '#000000',
      'stroke-width': 0.25,
      style: {
        color: '#000000',
        fontWeight: 'bold',
      },
      states: {
        stroke: '#000000',
        'stroke-width': 0.25,
        hover: {
          fill: '#92918C',
          style: { color: 'black' }
         },
         select: {
          fill: '#FFA900',
          style: { color: 'white' }
        }
      }
    },
    buttons : [
      {
        type : 'minute',
        count : 1,
        text : '1m'
      }, {
        type : 'minute',
        count : 10,
        text : '10m'
      }, {
        type : 'hour',
        count : 1,
        text : '1h'
      }, {
        type : 'all',
        count : 1,
        text : 'All'
      }
    ],
    selected : 3,
    inputEnabled : false
  },
  plotOptions: {
    series: {
      dataGrouping: { enabled: false }
    },
    area: {
      stacking: 'normal'
    }
  },
  xAxis: {
    type: 'datetime',
    ordinal: false,
    maxZoom: 10000 // three days
  },
  yAxis:[
    {
      min: 0,
      title: { text: 'Number of responses' },
      opposite: false,
      reversedStacks: false
    }, {
      min: 0,
      title: {
        text: 'Active Users',
        style: { color: '#FFA900' }
      },
      opposite: true
    }
  ],
  series: [
    {
color: '#5E7BE2',
name: 'All',
data: responses[0],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
},
{
color: '#68b65c',
name: 'OK',
data: responses[1],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
,type: 'area'},
{
color: '#f15b4f',
name: 'KO',
data: responses[2],
tooltip: { yDecimals: 0, ySuffix: '', valueDecimals: 0 }
,type: 'area'},
    allUsersData,
{
  
type: 'pie',
name: 'Distribution',
data: [
  {name: 'OK', y: 0.0, color: '#68b65c'},{name: 'KO', y: 4190.0, color: '#f15b4f'}
],
center: [775, -40],
size: 70,
showInLegend: false,
dataLabels: { enabled: false },
dataGrouping: { enabled: false }

}

  ]
});

requestsChart.setTitle({
  text: '<span class="chart_title">Number of responses per second</span>',
  useHTML: true
});

var scatterChart = new Highcharts.Chart({
  chart: {
    renderTo: 'container_response_time_dispersion', 
    defaultSeriesType: 'scatter',
    zoomType: 'xy',
    marginBottom: 90
  },
  credits: { enabled: false },
  xAxis: {
    title: {
      enabled: true,
      text: 'Global number of requests per second',
      style: { fontWeight: 'bold' }
    },
    startOnTick: true,
    endOnTick: true,
    showLastLabel: true,
    min: 0
  },
  title: { text: 'A title to let highcharts reserve the place for the title set later' },
  yAxis: {
    min: 0,
    title: { text: 'Response Time (ms)' }
  },
  tooltip: {
    formatter: function() {
         return ''+ this.y +' ms at ' + this.x + ' allreq/s';
    }
  },
  legend: {
    enabled: true,
    floating: true,
    y: 0,
    borderWidth: 0,
    itemStyle: { fontWeight: "normal" },
  },
  plotOptions: {
    scatter: {
      marker: {
        radius: 3,
        states: {
          hover: {
            enabled: true,
            lineColor: 'rgb(100,100,100)'
          }
        }
      },
      states: {
        hover: {
          marker: { enabled: false }
        }
      }
    }
  },
  series: [
	  {
type: 'scatter',
color: '#68b65c',
name: 'OK',
data: [
[]
]},
	  {
type: 'scatter',
color: '#f15b4f',
name: 'KO',
data: [
[4,1],[6,4],[6,1],[6,1],[6,2],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[6,1],[7,1],[7,1],[7,1],[8,0],[9,1],[9,1],[10,1],[10,1],[10,0],[10,0],[12,1],[12,1],[14,1],[14,1],[21,1],[26,2],[30,1],[35,1],[38,1],[41,1],[47,1],[51,1],[55,1],[58,1],[62,1],[66,1],[70,1],[75,1],[78,0],[82,1],[86,1],[91,1],[94,0],[99,1],[103,1],[105,1],[111,1],[116,1],[118,1],[121,1],[126,0],[132,1],[135,1],[138,1],[142,0],[146,1],[151,1],[155,1],[159,1],[162,1],[167,1],[171,1],[174,1],[178,1],[183,1],[186,1],[191,1],[195,0],[199,1],[202,1],[207,1],[210,1],[215,1],[220,1],[223,1],[226,1],[230,0],[235,0],[240,1],[242,1],[247,1],[250,1],[256,1],[259,0],[262,1],[267,1],[271,1],[275,1],[279,1],[282,0],[288,1],[290,1],[296,1],[299,1],[303,1],[307,0],[311,0],[314,0],[320,1],[322,1],[328,0],[330,0],[337,1],[339,1],[343,1],[345,1],[352,0],[356,0],[359,0],[362,0],[368,0],[371,0],[375,0],[380,0],[383,0],[387,1],[391,1],[396,0],[399,0],[402,0],[408,0],[411,0],[415,0],[420,0],[423,0],[426,0],[433,1],[435,1],[440,1],[443,1],[446,0],[452,0],[456,0],[459,0],[464,1],[467,1],[472,1],[477,1],[478,1],[483,0],[487,0],[493,1],[495,1],[500,1],[502,1],[508,1],[512,1],[515,1],[520,1],[523,1],[528,1],[532,1],[534,1],[541,0],[542,0],[548,0],[552,1],[557,1],[559,1],[564,1],[567,1],[572,0],[577,0],[579,1],[584,1],[587,0],[593,1],[595,1],[599,1],[605,1],[607,0],[612,0],[616,0],[620,1],[624,1],[627,0],[633,0],[636,0],[640,0],[644,1],[647,1],[652,1],[656,1],[661,0],[663,1],[668,1],[672,1],[676,0],[680,0],[684,0],[687,0],[692,0],[697,0],[700,1],[703,1],[708,1],[714,0],[716,1],[720,1],[724,0],[728,0],[733,0],[1070,0]
]}
	]
});

scatterChart.setTitle({
  text: '<span class="chart_title">Response Time against Global Throughput</span>',
  useHTML: true
});

    });
</script>
</div>
</body>
</html>
